package com.jichangxiu.system.service;

import com.github.yulichang.base.MPJBaseService;
import com.jichangxiu.system.entity.bo.SysPostDeptBo;
import com.jichangxiu.system.entity.dto.edit.EditSysPost;
import com.jichangxiu.system.entity.po.SysPostDept;

import java.util.List;

/**
 * SysPostDeptService:
 *
 * @author JiChangXiu
 * @create 2024-06-28 13:44:34
 */
public interface SysPostDeptService extends MPJBaseService<SysPostDept> {

    /**
     * 增加 / 修改 / 删除 岗位部门关联列表
     *
     * @param editSysPost       系统岗位
     * @param sysPostDeptBoList 岗位部门关联对象列表
     * @return 是否成功
     */
    public Boolean addOrDelOrEdit(EditSysPost editSysPost, List<SysPostDeptBo> sysPostDeptBoList);

}